package net.maku.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName express_warehouse
 */
@TableName(value ="express_warehouse")
@Data
public class ExpressWarehousePojo implements Serializable {
    /**
     * 
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 命名
     */
    @TableField(value = "port")
    private String port;

    /**
     * 类型1:始发地港口2:目的地港口;3:始发地仓,4:目的地仓
     */
    @TableField(value = "port_type")
    private Integer portType;

    /**
     * 始发地和目的地对应的仓库id
     */
    @TableField(value = "port_id")
    private Integer portId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 0:未删除,1:已删除
     */
    @TableField(value = "delete_flag")
    private Integer deleteFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}